const names=document.getElementById('name');
        const passwords=document.getElementById('password');
        function login(){
            if(names.value=='admin'&&passwords.value=='123456'){
                alert('登录成功');
                location.assign('http://47.116.207.219/homePage')
            }else{
                alert('登录失败');
                names.value='';
                passwords.value='';
            }
}